package com.situ.feemanagement.mapper;

import com.situ.feemanagement.pojo.entity.Department;
import com.situ.feemanagement.pojo.query.DepartmentQuery;

import java.util.List;

public interface DepartmentMapper {

    List<Department> selectAll();

    List<Department> selectByPage(DepartmentQuery departmentQuery);

    void deleteById(int id);

    void add(Department department);

    Department selectById(int id);

    void update(Department department);

    Integer selectCount();
}
